package com.jinyijia.api.rest.v2.goods;

import lombok.Data;

import java.util.Map;

/**
 * @author yangrd
 * @version 1.0.0
 * @date 2018/10/6
 **/
@Data
class SkuDTO {

    private Long id;
    private Double price;
    private Integer stock;
    private Map<String, String> attributes;
    private String code;
    /**
     * 限购数量 -1 代表不限购
     */
    private Integer quota;

    {
        quota = -1;
    }

}
